package com.jkgh.remedium.rsgen.vo;

import java.util.ArrayList;
import java.util.List;

public class RemediumSystem {

	private final String packageName;
	private final String description;
	private final List<MethodObject> methodObjects;
	private final List<DataObject> dataObjects;
	private final String name;
	private final String accessClass;

	public RemediumSystem(String name, String packageName, String description, String accessClass) {

		this.name = name;
		this.packageName = packageName;
		this.description = description;
		this.accessClass = accessClass;
		this.dataObjects = new ArrayList<DataObject>();
		this.methodObjects = new ArrayList<MethodObject>();
	}

	public void addMethodObject(MethodObject methodObject) {

		methodObjects.add(methodObject);
	}

	public void addDataObject(DataObject dataObject) {

		dataObjects.add(dataObject);
	}

	public List<DataObject> getDataObjects() {

		return dataObjects;
	}

	public List<MethodObject> getMethodObjects() {

		return methodObjects;
	}

	public String getPackageName() {

		return packageName;
	}

	public String getDescription() {

		return description;
	}

	public String getName() {

		return name;
	}

	public String getAccessClass() {

		return accessClass;
	}
}
